<div class="row">
  <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
  <div class="span9"> 
  	<p>短信状况：<*$ye*></p>
  	<p>总计：已发送总数 <*$send*>，未发送总数<*$wfs*></p>
  	 <div class="page"><*$page*></div>
  	 <table class="table">
	  <tr>
	  <th>接收号码</th>
	  <th>接收内容</th>
	  <th>状态</th>
	  <th>发送/增加时间</th>
	  <th>&nbsp;</th>
	  </tr>
  	<*foreach from=$result item=a key =key name=foo*>
  		<tr>
	   <td><*$a.phonenumber*></td>
	   <td><label title="<*$a.content*>"><*$a.content|smartTruncate:'15':'...'*></label></td>
	   <td><*if $a.is_send eq 1 *><span style="color:red">已经发送</span><*else if $a.is_send eq 0*>未发送<*/if*> </a></td>
	   <td>
			<!-- <*if $a.is_send eq 1 *>
		    <*$a.addtime|date_format:"%Y-%m-%d %H:%I "*>
		    <*/if*>
		    <*if $a.is_send eq 0 *>
		    <*$a.sendtime|date_format:"%Y-%m-%d %H:%I "*>
		    <*/if*> -->
		    <*$a.sendtime|date_format:"%Y-%m-%d %H:%M:%S"*>
		</td>
	   <td>&nbsp;</td>
	   </tr>
	    <*/foreach*> 
	    </table>
     <div class="page"><*$page*></div>
  </div>
</div>



<script type="text/javascript">

function deleteit(adid)
{
  if(confirm("删除将不能恢复")){
   window.location='/<*$controller*>/delete/id/'+adid;
  }
}

</script> 
